Spatial audio
Spatial audio involves placing sound sources anywhere in the three dimensional space around the listener. Here we have two code examples;
- Listener: moving alistener around a source in two dimensions
- pannerNode: moving a source in the 3D space around a listener.
Code examples correspond to examples from Chapter 17 in the book 'Working with the Web Audio API'.
Feel free to contact me at joshua.reiss@qmul.ac.uk